

<template>
  <div class="detail">
    <div class="tablesB" >
      <el-table :data="dataDetail.drug_item" border>
        <el-table-column type="index" width="70" label="序号">
        </el-table-column>
        <template v-for="(item, index) in $baseBai['purchaseApply']['detail']">
          <el-table-column
            :width="item.width"
            :prop="item.prop"
            :label="item.label" 
            :key="index + item"
          >
          </el-table-column>
        </template>
      </el-table>
    </div>
     
  </div>
</template>
<script>
let t;
import { mapState, mapActions } from "vuex";
export default {
  data() {
    return {};
  },
  
  methods: {},
  computed: {
    ...mapState({
      dataDetail: (state) => state.storage.dataDetail,
    
    }),
  },
};
</script>
<style lang='scss' scoped>
.addUdetailpdate {
  padding: 0 5%;
}
/deep/ .el-dialog__body {
  height: 70vh;
  overflow: scroll;
}
</style>